<foreach name="coupon_list" item="vo">
    <if condition="$vo[isget] neq 1">
        <div class="maleri30">
            <div class="alcowlone p">
                <div class="goods-limit fl">
                    <div class="goodsimgbo fl">
                        <img src="__STATIC__/images/coupon.png"/>
                    </div>
                    <div class="goods-limit-fo fl">
                        <p class="name">{$vo.name}</p>
                        <p >{$vo.use_scope}</p>
                        <p class="condition"><em>{$vo.money|intval}元</em>满{$vo.condition|intval}元可用</p>
                    </div>
                </div>
                <div class="get-limit fr">
                    <canvas class="alreadyget" data-num='<if condition="$vo[createnum] gt 0">{$vo[send_num]/$vo[createnum]*100|ceil}<else/>0</if>'  width="100"  height="100"></canvas>
                    <if condition="$vo[send_num] eq $vo[createnum] && $vo[createnum] neq 0">
                        <a class="clickgetcoupon" data-coupon-id="{$vo.id}" onclick="getCoupon(this)">已抢完</a>
                        <else/>
                        <a class="clickgetcoupon" data-coupon-id="{$vo.id}" onclick="getCoupon(this)">点击领取</a>
                    </if>
                </div>
            </div>
        </div>
    </if>
</foreach>
